const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: true,
  
  devServer: {
    port: 8080,
    host:"localhost",
    
   
    proxy: {
          '/swagger': {
              
              target :"https://wap.xybsyw.com",
              changeOrigin: true,
              pathRewrite: {
                  "^/swagger": "",
              }
          },
          '/app': {
            target:"https://xcx.xybsyw.com",
            changeOrigin: true,
            pathRewrite: {
                "^/app": "",
            }   
          }
    }
  }
})
